<form method="post" enctype="multipart/form-data" action="eshopScript/FakturacniUdajeResolution.php" id="fakturacniUdajeFull">

    <table id="shopping-cart-table" class="data-table cart-table no-border">
        <thead>
            <tr>
                <th rowspan="1" colspan="2" width="50%">${LANG_fakUdaje}</th>
                <th rowspan="1" colspan="2" width="50%">
                    ${LANG_dorucUdaje}                    
                </th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td width="15%"><label for="name">${LANG_jmeno}<span class="required">*</span></label></td>
                <td>
                    <input type="text" id="name" name="name" value="${VARIABLE_jmeno}" title="${LANG_jmeno}" class="input-text long required"  />
                </td>
                <td width="15%"><label for="d_name">${LANG_jmeno}<span class="required">*</span></label></td>
                <td>
                    <input type="text" id="d_name" name="d_name" value="${VARIABLE_djmeno}" title="${LANG_jmeno}" class="input-text long"  />
                </td>
            </tr>
            <tr>
                <td width="15%"><label for="surname">${LANG_prijmeni}<span class="required">*</span></label></td>
                <td>
                    <input type="text" id="surname" name="surname" value="${VARIABLE_prijmeni}" title="${LANG_povinnePole}" class="input-text long required"  />
                </td>
                <td width="15%"><label for="d_surname">${LANG_prijmeni}<span class="required">*</span></label></td>
                <td>
                    <input type="text" id="d_surname" name="d_surname" value="${VARIABLE_dprijmeni}" title="${LANG_prijmeni}" class="input-text long"  />
                </td>
            </tr>
            <tr>
                <td width="15%"><label for="company">${LANG_firma}</label></td>
                <td>
                    <input type="text" id="company" name="company" value="${VARIABLE_firma}" title="${LANG_firma}" class="input-text long" size="15" />
                    <label for="ico">IČ</label>
                    <input type="text" id="ico" name="ico" value="${VARIABLE_ic}" title="IČ" class="input-text lesser"  size="5"/>
                </td>
                <td width="15%"><label for="d_company">${LANG_firma}</label></td>
                <td>
                    <input type="text" id="d_company" name="d_company" value="${VARIABLE_dfirma}" title="${LANG_firma}" class="input-text long"  />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="street">${LANG_uliceAcp}<span class="required">*</span></label>
                </td>
                <td>
                    <input type="text" id="street" name="street" value="${VARIABLE_ulice}" title="${LANG_povinnePole}" class="input-text long required"  />
                </td>
                <td>
                    <label for="d_street">${LANG_uliceAcp}<span class="required">*</span></label>
                </td>
                <td>
                    <input type="text" id="d_street" name="d_street" value="${VARIABLE_dulice}" title="${LANG_uliceAcp}" class="input-text long"  />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="town">${LANG_mesto}<span class="required">*</span></label>
                </td>
                <td>
                    <input type="text" id="town" name="town" value="${VARIABLE_mesto}" title="${LANG_povinnePole}" class="input-text long required"  />
                </td>
                <td>
                    <label for="d_town">${LANG_mesto}<span class="required">*</span></label>
                </td>
                <td>
                    <input type="text" id="d_town" name="d_town" value="${VARIABLE_dmesto}" title="${LANG_mesto}" class="input-text long"  />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="zip">${LANG_psc}<span class="required">*</span></label>
                </td>
                <td>
                    <input type="text" id="zip" name="zip" value="${VARIABLE_psc}" title="${LANG_povinnePole}" class="input-text short required" onkeypress="return isNumberKey(event)" />
                </td>
                <td>
                    <label for="d_zip">${LANG_psc}<span class="required">*</span></label>
                </td>
                <td>
                    <input type="text" id="d_zip" name="d_zip" value="${VARIABLE_dpsc}" title="${LANG_psc}" class="input-text short" onkeypress="return isNumberKey(event)" />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="country">${LANG_stat}<span class="required">*</span></label>
                </td>
                <td>
                    <select name="country" id="country" class="validate-select long" title="${LANG_povinnePole}" >
                        <option value="1" ${VARIABLE_statCR}>${LANG_statCR}</option>
                        <option value="2" ${VARIABLE_statSLO}>${LANG_statSK}</option>
                    </select>
                </td>
                <td>
                    <label for="d_country">${LANG_stat}<span class="required">*</span></label>
                </td>
                <td>
                    <select name="d_country" id="d_country" class="validate-select long" title="${LANG_stat}" >
                        <option value="1" ${VARIABLE_dstatCR}>${LANG_statCR}</option>
                        <option value="2" ${VARIABLE_dstatSLO}>${LANG_statSK}</option>
                    </select>
                </td>
            </tr>
            ${VARIABLE_fakUdajeMail}           
            <tr>
                <td><label for="phone">${LANG_telefon}<span class="required">*</span></label></td>
                <td><input type="text" id="phone" name="phone" value="${VARIABLE_phone}" title="${LANG_povinnePole}" class="input-text long required" onkeypress="return isNumberKey(event)" /></td>
            </tr>
            ${VARIABLE_fakUdajeheslo}          
        </tbody>
    </table>    
    <input type="hidden" name="formType" value="fakturacniUdajeFull"/>
    <div class="sendFormButton" data-formId="fakturacniUdajeFull">${LANG_ulozitZmeny}</div>    
    <div id="poznamkaFakturacniUdajeDiv"><span id="poznamkaFakturacniUdajeSpan">${LANG_poznamkaFU}</span><span id="poznamkaFakturacniUdajeStejneSpan">${LANG_poznamkaFUstejne}</span></div>
</form>

<script>
    $(document).ready(function(){
        $("#fakturacniUdaje").validate();
    });
</script>
<style type="text/css">

label.error { float: left; color: red; padding-left: .5em; vertical-align: top; }

</style>